package com.erbao.dp.proxy.springaop.v2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author CaoBaoYin
 * @since 21/9/17 17:51
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("app.auto.xml");
        Tank tank = (Tank) context.getBean("tank");
        tank.move();
    }
}
